package ace.cmp.spring.graphql.data.jdbc.querydsl.core.controller.model.impl;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/8/29 16:00
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DefaultSortInput {
  @NotEmpty private String name;
  @NotNull private Boolean asc;
}
